-
Notifications
You must be signed in to change notification settings - Fork 13
feat: add Get Workunit Metrics tool for performance metrics retrieval #489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
1ab7500 to
07e7eb9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new Language Model tool for fetching detailed workunit metrics and performance information from HPCC Platform workunits.
- Introduces
GetWorkunitMetricsToolto retrieve normalized performance metrics for a specific workunit by WUID - Integrates the new tool into the ECL extension's LM tools registry
- Adds corresponding package.json contributions with proper schema and metadata
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/ecl/lm/tools/getWorkunitMetrics.ts | New tool implementation that fetches normalized workunit metrics including execution details, timing, and resource usage via the @hpcc-js/comms Workunit API |
| src/ecl/lm/tools.ts | Registers the new GetWorkunitMetricsTool in the extension's LM tools collection |
| package.json | Adds languageModelTools contribution entry for ecl-extension-getWorkunitMetrics with appropriate tags, display name, model description, and input schema |
058a0b3 to
7656cc4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
Signed-off-by: Gordon Smith <[email protected]>
7656cc4 to
70e7649
Compare
No description provided.